'use strict';
/**
 * @author chenmin
 * @class  右侧面板组件===>话术设置===>搜索框
 */

var React = require('react');
var PanelRouterAction = require('../../../actions/panelRouter');


var wordsPanelSearch = React.createClass({
      getInitialState:function(){
            return {};
      },
      handlerOpenEdit:function(){
            var params = {
                  userId:'12333'
            };
            PanelRouterAction.PANEL_ROUTER_EDIT(params);
      },
      render: function() {
            return (
            	/* jshint ignore:start */
                              <div className="do-panel-body-head">
                                    <div className="do-panel-search">
                                                <ul className="do-panel-list">
                                                      <li>添加分类</li>
                                                      <li>
                                                            <input type="text" className="do-input do-mr-md do-ml-md" />
                                                      </li>
                                                      <li>
                                                            <input type="button" className="do-btn do-btn-success do-btn-md " value="添加" />
                                                      </li>
                                                
                                                </ul>
                                                <input type="button" className="do-btn do-btn-default do-btn-md do-search-type-btn" value="分类管理" onClick={this.handlerOpenEdit} />
                                    </div>
                              </div>
                        /* jshint ignore:end */
            );
   }
});

module.exports = wordsPanelSearch;